import request from '@/util/request.js';

/**
 * @description 用户查询列表
 * @param {Object} data
 */
export function getUserEntrepreneursList(data) {
	return request({
		url: '/entrepreneurs/getUserEntrepreneursList',
		method: 'GET',
		data
	})
}
/**
 * @description 商家核销
 * @param {Object} data
 */
export function userAddEntrepreneursUser(data) {
	return request({
		url: '/entrepreneursUser/userAddEntrepreneursUser',
		method: 'post',
		data
	})
}
/**
 * @description 用户查询详情
 * @param {Object} data
 */
export function getUserEntrepreneursById(data) {
	return request({
		url: '/entrepreneurs/getEntrepreneursById',
		method: 'GET',
		data
	})
}
/**
 * @description 商家入驻
 * @param {Object} data
 */
export function addAndUpdateBusinessSettled(data) {
	return request({
		url: '/businessSettled/addAndUpdateBusinessSettled',
		method: 'post',
		data
	})
}
/**
 * @description 经营类型
 * @param {Object} data
 */
export function getIndustryApi(data) {
	return request({
		url: '/common/getBusinessTypeList',
		method: 'GET',
		data
	})
}
/**
 * @description 创业活动
 * @param {Object} data
 */
export function businessActivity(data) {
	return request({
		url: '/tbContentEnt/list',
		method: 'GET',
		data
	})
}


/**
 * @description 创业活动
 * @param {Object} data
 */
export function entrepreneursUser(data) {
	return request({
		url: '/entrepreneurs/getUserEntrepreneursList',
		method: 'GET',
		data
	})
}

/**
 * @description 创业活动详情
 * @param {Object} data
 */
export function businessActivityDetails(data) {
	return request({
		url: '/tbContentEnt/get',
		method: 'GET',
		data
	})
}